home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 97 / CD-ROM 97 / CD-ROM 97.iso / internet / ghostzilla / ghsetup.exe / chrome / comm.jar / content / communicator / pref / pref-http.xul < prev    next >
Encoding:
Extensible Markup Language  |  2002-04-11  |  3.9 KB  |  97 lines

  1. <?xml version="1.0"?> 
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4.    -
  5.    - The contents of this file are subject to the Mozilla Public License Version
  6.    - 1.1 (the "License"); you may not use this file except in compliance with
  7.    - the License. You may obtain a copy of the License at
  8.    - http://www.mozilla.org/MPL/
  9.    -
  10.    - Software distributed under the License is distributed on an "AS IS" basis,
  11.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.    - for the specific language governing rights and limitations under the
  13.    - License.
  14.    -
  15.    - The Original Code is mozilla.org code.
  16.    -
  17.    - The Initial Developer of the Original Code is
  18.    - Ryan Cassin.
  19.    - Portions created by the Initial Developer are Copyright (C) 2002
  20.    - the Initial Developer. All Rights Reserved.
  21.    -
  22.    - Contributor(s):
  23.    -   Ryan Cassin <rcassin@supernova.org>
  24.    -   Kathleen Brade <brade@netscape.com>
  25.    -
  26.    - Alternatively, the contents of this file may be used under the terms of
  27.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  28.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  29.    - in which case the provisions of the GPL or the LGPL are applicable instead
  30.    - of those above. If you wish to allow use of your version of this file only
  31.    - under the terms of either the GPL or the LGPL, and not to allow others to
  32.    - use your version of this file under the terms of the MPL, indicate your
  33.    - decision by deleting the provisions above and replace them with the notice
  34.    - and other provisions required by the LGPL or the GPL. If you do not delete
  35.    - the provisions above, a recipient may use your version of this file under
  36.    - the terms of any one of the MPL, the GPL or the LGPL.
  37.    -
  38.    - ***** END LICENSE BLOCK ***** -->
  39.  
  40. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  41.  
  42. <!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-http.dtd" >
  43. <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  44.       onload="parent.initPanel('chrome://communicator/content/pref/pref-http.xul');checkPipelining();"
  45.       headertitle="&lHeader;">
  46.  
  47.   <script type="application/x-javascript" 
  48.           src="chrome://communicator/content/pref/pref-http.js"/>
  49.           
  50.   <script type="application/x-javascript">
  51.   <![CDATA[
  52.     var _elementIDs = ["browserEnableKeepAlive", "browserEnablePipelining",
  53.                        "acceptEncodingString", "httpVersion"];
  54.   ]]>
  55.   </script>
  56.  
  57.   <groupbox>
  58.     <caption label="&prefNetworking.label;"/>
  59.     <vbox class="box-padded" align="start">
  60.       <radiogroup id="httpVersion" 
  61.                   preftype="string" prefstring="network.http.version"
  62.                   oncommand="checkPipelining();">
  63.         <radio value="1.0" label="&prefEnableHTTP10.label;"
  64.                accesskey="&prefEnableHTTP10.accesskey;"/>
  65.         <radio value="1.1" label="&prefEnableHTTP11.label;" 
  66.                accesskey="&prefEnableHTTP11.accesskey;" id="httpVersion11"/>
  67.       </radiogroup>
  68.  
  69.       <separator/>
  70.  
  71.       <checkbox id="browserEnableKeepAlive" label="&prefEnableKeepAlive.label;"
  72.                 accesskey="&prefEnableKeepAlive.accesskey;" 
  73.                 prefstring="network.http.keep-alive" oncommand="checkPipelining();"/>
  74.  
  75.       <checkbox id="browserEnablePipelining" label="&prefEnablePipelining.label;"
  76.                 accesskey="prefEnablePipelining.accesskey;"
  77.                 prefstring="network.http.pipelining"/>
  78.     </vbox>
  79.  
  80.   </groupbox>
  81.  
  82.   <groupbox>
  83.     <caption label="&acceptEncoding.label;"/>
  84.     <vbox class="box-padded">
  85.       <textbox id="acceptEncodingString" flex="1"
  86.                prefstring="network.http.accept-encoding"/> 
  87.       <hbox autostretch="never">
  88.         <button label="&resetButton.label;"
  89.                 accesskey="&resetButton.accesskey;"
  90.                 oncommand="restoreAcceptEncoding();">
  91.         </button>
  92.       </hbox>
  93.     </vbox>
  94.   </groupbox>
  95. </page>
  96.  
  97.